/**
 *    Copyright 2009-2015 the original author or authors.
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */
package org.apache.ibatis.session;

/**
 * @author Clinton Begin
 *
 * ### Mybatis 执行器
 *      SIMPLE：简单执行器，每执行一次sql，就会创建一个statement
 *      REUSE： 批量执行器
 *      BATCH： 重用执行器
 *
 *      如果允许缓存，就会使用装饰器模式，使用CachingExecutor，然后CachingExecutor再将任务交给以上三种执行器执行
 *
 */
public enum ExecutorType {
  SIMPLE, REUSE, BATCH
}
